import request from '@/utils/request'

// 获取部署流程信息
export function findLeaveApplyPageList(data) {
    return request({
      url: 'leaveApply/findLeaveApplyPageList',
      method: 'post',
      data
    })
}

//创建请假流程
export function createLeaveApply(data) {
    return request({
      url: 'leaveApply/createLeaveApply',
      method: 'post',
      data
    })
} 

//撤销请假流程
export function cancelLeaveApply(data) {
    return request({
      url: 'leaveApply/cancelLeaveApply',
      method: 'post',
      data
    })
} 